package com.packer.ext.libdemo;

import com.leon.channel.helper.ChannelReaderUtil;
import com.packer.ext.base.AppConstant;
import com.packer.ext.base.BaseApp;
import com.packer.ext.libdemo.api.Api;

/**
 * Created by hpb on 2018/4/11.
 */

public class App extends BaseApp {

  @Override public void onCreate() {
    AppConstant.DEBUG =true;
    super.onCreate();
    addDomain(Api.APP_DOMAIN_NAME,Api.APP_DEFAULT_DOMAIN);
    addDomain(Api.GANK_DOMAIN_NAME,Api.GANK_DOMAIN_NAME);

    Api.initService();
//    ImageLoader.setDefaultPlaceHolder();

  }

  @Override public String getAppDomain() {
    return Api.APP_DEFAULT_DOMAIN;
  }
}
